﻿#pragma once

#include <array>

#include "DataCenter.h"

/// @brief UI数据
/// @note 继承自Data类
class UIData : public Data
{
public:
    UIData() {}
    virtual ~UIData() override {}
};


/// @brief 梯形UI数据
/// @note 继承自UIData类
class UITrapezoidData : public UIData
{
public:
    UITrapezoidData() {}
    virtual ~UITrapezoidData() override {}

public:
    double m_Width;     // 底边长
    double m_Height;    // 高
    double m_Theta;     // 梯形腰与底边垂线夹角
};


/// @brief 延伸UI数据
/// @note 继承自UIData类
class UIExtrudeData : public UIData
{
public:
    UIExtrudeData() {}
    virtual ~UIExtrudeData() override {}

public:
    std::string m_Source;   // 输入平面的名称
    double m_Dis;           // 沿z方向的拉伸长度
};